package com.example.lvsuo.service.impl;

import com.example.lvsuo.entity.vo.CwPerformancesplitVo;
import com.example.lvsuo.entity.CaseLaw;
import com.example.lvsuo.entity.vo.xzhvo.PerformancesplitVo;
import com.example.lvsuo.service.ICwPerformancesplitService;
import com.example.lvsuo.entity.CwPerformancesplit;
import com.example.lvsuo.mapper.CwPerformancesplitMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
@Service
@Transactional
public class CwPerformancesplitServiceImpl extends ServiceImpl<CwPerformancesplitMapper, CwPerformancesplit> implements ICwPerformancesplitService {

    @Autowired
    CwPerformancesplitMapper cm;

    @Override
    public void addcwPerformancesplit(List<CwPerformancesplit> l) {
        cm.addcwPerformancesplit(l);
    }

    @Override
    public List<CwPerformancesplitVo> queryCw(String id) {
        return cm.queryCw(id);
    }

    @Override
    public List<CwPerformancesplit> getCwPerformancesplitNADempidandlawid(CwPerformancesplit cwPerformancesplit) {
        return this.baseMapper.getCwPerformancesplitNADempidandlawid(cwPerformancesplit);
    }

    @Override
    public   List<PerformancesplitVo> getidcwPerformancesplit(PerformancesplitVo performancesplitVo) {
        return this.baseMapper.getidcwPerformancesplit(performancesplitVo);
    }
}
